import { Module } from '@nestjs/common';
import { ApproveController} from '../../controller/wrj-apply/approve.controller';
import { ApproveService } from '../../service/approve.service';
import { ApplyService } from '../../service/apply.service';
import { ApplyUserService } from '../../service/apply.user.service';
import {TypeOrmModule} from "@nestjs/typeorm";
import {ApproveEntity} from "../../entity/approve.entity";
import {ApplyEntity} from "../../entity/apply.entity";
import {ApplyUserEntity} from "../../entity/apply.user.entity";
import {CommonRequestService} from "../../service/common.request.service";
import {CommonRedisService} from "../../service/common.redis.service";
import {HttpModule} from "@nestjs/axios";

@Module({
    imports: [
        HttpModule,
        TypeOrmModule.forFeature([ApplyEntity, ApproveEntity, ApplyUserEntity]),
    ],
    providers: [ApplyService, ApproveService, ApplyUserService, CommonRequestService, CommonRedisService],
    controllers: [ApproveController]
})
export class ApproveModule {}
